package com.tscnd.core.entity.role;

import java.io.Serializable;

/**
 * 
 * <一句话功能简述> <功能详细描述>
 * 
 * @author xiangtao
 * @version [版本号, 2015年1月8日]
 * @see [相关类/方法]
 * @since [产品/模块版本]
 */
public class Role implements Serializable {

	private static final long serialVersionUID = 1L;
	
	public static final String AUTHORITY_PREFIX = "ROLE_";
	
	/**
	 * 主键ID
	 */
	private String id;
	/**
	 * 角色名称
	 */
	private String roleName;
	/**
	 * 角色描述
	 */
	private String roleDesc;
	/**
	 * 权限标记
	 */
	private String authorityMark;
	private int enable;
	private int issys;
	private String moduleId;

	
	public String getId()
	{
		return id;
	}
	public void setId(String id)
	{
		this.id = id;
	}
	public void setRoleName(String roleName){
		this.roleName=roleName;
	}
	public String getRoleName(){
		return roleName;
	}
	public void setRoleDesc(String roleDesc){
		this.roleDesc=roleDesc;
	}
	public String getRoleDesc(){
		return roleDesc;
	}
	public void setEnable(int enable){
		this.enable=enable;
	}
	public int getEnable(){
		return enable;
	}
	public void setIssys(int issys){
		this.issys=issys;
	}
	public int getIssys(){
		return issys;
	}
	public void setModuleId(String moduleId){
		this.moduleId=moduleId;
	}
	public String getModuleId(){
		return moduleId;
	}
	public String getAuthorityMark()
	{
		return AUTHORITY_PREFIX+authorityMark;
	}
	public void setAuthorityMark(String authorityMark)
	{
		this.authorityMark = authorityMark;
	}
	
	
	
}

